<?php

namespace app\admin\model;

use think\Model;


class Images extends Model
{





    // 表名
    protected $name = 'community';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];


    //label
    public function labels(){
        return $this->belongsTo('label','label','id','','left')->setEagerlyType(0);
    }








}
